Skip to content

1.4.34 -- meta-write completeness (array meta + wp_add_post_meta + wp_get_terms) - #52

Merged
royalplugins merged 1 commit into
mainfrom
release/1.4.34
Jul 9, 2026
Merged

1.4.34 -- meta-write completeness (array meta + wp_add_post_meta + wp_get_terms)#52
royalplugins merged 1 commit into
mainfrom
release/1.4.34

Conversation

@royalplugins

@royalplugins royalplugins commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Summary

Meta-write completeness so AI agents can manage themes that store nested arrays in post meta (photo galleries, floor plans, multi-item listings) directly, without a client-side workaround.

  • wp_update_post_metavalue schema expanded from string-only to oneOf: [string, integer, number, boolean, array, object]. Arrays and objects are serialized by WordPress on write and round-trip as PHP arrays on read. Strictly additive; existing string callers unchanged.
  • wp_add_post_meta — new tool mirroring WP core add_post_meta(). Adds a meta row without overwriting existing values under the same key. unique=true returns created=false cleanly when a row with the key already exists.
  • wp_get_terms — new tool listing terms in any registered taxonomy with paginated output (page, per_page, total, total_pages). Optional search, hide_empty, parent filters.

Tool counts: WordPress core 67 → 69, total 126 → 129.

@royalplugins
royalplugins merged commit 26db5c7 into main Jul 9, 2026
5 checks passed
@royalplugins
royalplugins deleted the release/1.4.34 branch July 9, 2026 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant